<template>
  <div class="tbele">
    <el-table :data="List" style="width: 100%">
      <el-table-column prop="number" label="试题编号" width="120">
      </el-table-column>
      <el-table-column prop="subject" label="学科" width="180">
      </el-table-column>
      <el-table-column prop="catalog" label="目录" width="120"> </el-table-column>
      <el-table-column prop="questionType" label="题型" width="100"> </el-table-column>
      <el-table-column prop="question " label="题干">
        <template slot-scope="scope">
          {{ scope.row.question | html2Text }}
        </template>
      </el-table-column>
      <el-table-column prop="addDate" label="录入时间">
        <template slot-scope="scope">
          {{ scope.row.addDate | parseTimeByString }}
        </template>
      </el-table-column>
      <el-table-column prop="difficulty" label="难度"> </el-table-column>
      <el-table-column prop="creator" label="录入人"> </el-table-column>
      <el-table-column label="操作" width="200">
        <template slot-scope="scope">
          <el-button
            type="primary"
            icon="el-icon-view"
            circle
            plain
          ></el-button>
          <el-button
            type="success"
            icon="el-icon-edit"
            circle
            plain
          ></el-button>
          <el-button
            type="danger"
            icon="el-icon-delete"
            circle
            plain
          ></el-button>
          <el-button
            type="warning"
            icon="el-icon-circle-check"
            circle
            plain
          ></el-button>
        </template>
      </el-table-column>
    </el-table>
  </div>
</template>

<script>
export default {
  props:["List"],
  data() {
    return {
      
    };
  },

};
</script>

<style>

</style>